<?php
class StudentController extends DRX_Controller 
{
	function pageAction()
	{
		redirect(APPLICATION_URL . "student");
	}
	
	function indexAction()
	{
		$smarty 	= DRX::load("smarty");
		
		$node		= new Node();
		$nodeInfo	= $node->getNodeInfo(STUDENT_ID);
		$nodeInfo->fetch();
		$title		= $nodeInfo->node_title;
		$content	= $nodeInfo->node_content;
		$smarty->assign("title",$title);
		$smarty->assign("content",$content);
		
		$topmenu	= new Topmenu();
		$topmenu->prepareTopMenu();
			
		$smarty->display("solvay.tpl");
	}
}
?>
